home *** CD-ROM | disk | FTP | other *** search
/ Champak 119 / (Vol 119) Nov 09 2010.iso / Games / orbitrax.swf / scripts / DefineSprite_413 / frame_134 / DoAction.as
Text File  |  2010-11-09  |  293b  |  10 lines

  1. if(!penalty)
  2. {
  3.    penalty = true;
  4.    animePts.box.pointField.text = main.pointOilBlock;
  5.    gameMain.ptsCounter += main.pointOilBlock;
  6.    gameMain.ptsCounter = gameMain.ptsCounter >= 0 ? gameMain.ptsCounter : 0;
  7.    gameMain.gotoAndStop("slide");
  8.    animePts._rotation = - _rotation;
  9. }
  10.